package com.oms.domain;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * CommuneMemberinfo entity. @author MyEclipse Persistence Tools
 */

public class CommuneMemberinfo implements java.io.Serializable {

	

	/**
	 * 
	 */
	private static final long serialVersionUID = 6852676296575423675L;
	
	// Fields
	private Integer userAssociationInfoId;
	private Massorganization massorganization;
	private Massorganizationrole massorganizationrole;
	private User user;
	private Short currentStateOfMember;
	private Short infoOpenExtentWithOrg;
	private String trueName;
	private Long schoolNo;
	private Short sex;
	private String moblie;
	private String schoolCornet;
	private String qqNo;
	private String addressOfSchool;
	private String academy;
	private String major;
	private String class_;
	private Timestamp joinTime;
	private Timestamp signUpTime;
	private Timestamp lastUpdateTime;
	private Boolean deleteTag;
	private String expandBar1;
	private String expandBar2;
	private Set memberAuthorities = new HashSet(0);
	private Set organizationvotes = new HashSet(0);
	private Set organizationnotices = new HashSet(0);
	private Set activities = new HashSet(0);
	private Set activitystaffs = new HashSet(0);
	private Set polloptionses = new HashSet(0);

	// Constructors

	/** default constructor */
	public CommuneMemberinfo() {
	}

	/** minimal constructor */
	public CommuneMemberinfo(Massorganization massorganization, User user,
			Short currentStateOfMember, Timestamp joinTime, Boolean deleteTag) {
		this.massorganization = massorganization;
		this.user = user;
		this.currentStateOfMember = currentStateOfMember;
		this.joinTime = joinTime;
		this.deleteTag = deleteTag;
	}

	/** full constructor */
	public CommuneMemberinfo(Massorganization massorganization,
			Massorganizationrole massorganizationrole, User user,
			Short currentStateOfMember, Short infoOpenExtentWithOrg,
			String trueName, Long schoolNo, Short sex, String moblie,
			String schoolCornet, String qqNo, String addressOfSchool,
			String academy, String major, String class_, Timestamp joinTime,
			Timestamp signUpTime, Timestamp lastUpdateTime, Boolean deleteTag,
			String expandBar1, String expandBar2, Set memberAuthorities,
			Set organizationvotes, Set organizationnotices, Set activities,
			Set activitystaffs, Set polloptionses) {
		this.massorganization = massorganization;
		this.massorganizationrole = massorganizationrole;
		this.user = user;
		this.currentStateOfMember = currentStateOfMember;
		this.infoOpenExtentWithOrg = infoOpenExtentWithOrg;
		this.trueName = trueName;
		this.schoolNo = schoolNo;
		this.sex = sex;
		this.moblie = moblie;
		this.schoolCornet = schoolCornet;
		this.qqNo = qqNo;
		this.addressOfSchool = addressOfSchool;
		this.academy = academy;
		this.major = major;
		this.class_ = class_;
		this.joinTime = joinTime;
		this.signUpTime = signUpTime;
		this.lastUpdateTime = lastUpdateTime;
		this.deleteTag = deleteTag;
		this.expandBar1 = expandBar1;
		this.expandBar2 = expandBar2;
		this.memberAuthorities = memberAuthorities;
		this.organizationvotes = organizationvotes;
		this.organizationnotices = organizationnotices;
		this.activities = activities;
		this.activitystaffs = activitystaffs;
		this.polloptionses = polloptionses;
	}

	// Property accessors

	public Integer getUserAssociationInfoId() {
		return this.userAssociationInfoId;
	}

	public void setUserAssociationInfoId(Integer userAssociationInfoId) {
		this.userAssociationInfoId = userAssociationInfoId;
	}

	public Massorganization getMassorganization() {
		return this.massorganization;
	}

	public void setMassorganization(Massorganization massorganization) {
		this.massorganization = massorganization;
	}

	public Massorganizationrole getMassorganizationrole() {
		return this.massorganizationrole;
	}

	public void setMassorganizationrole(
			Massorganizationrole massorganizationrole) {
		this.massorganizationrole = massorganizationrole;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Short getCurrentStateOfMember() {
		return this.currentStateOfMember;
	}

	public void setCurrentStateOfMember(Short currentStateOfMember) {
		this.currentStateOfMember = currentStateOfMember;
	}

	public Short getInfoOpenExtentWithOrg() {
		return this.infoOpenExtentWithOrg;
	}

	public void setInfoOpenExtentWithOrg(Short infoOpenExtentWithOrg) {
		this.infoOpenExtentWithOrg = infoOpenExtentWithOrg;
	}

	public String getTrueName() {
		return this.trueName;
	}

	public void setTrueName(String trueName) {
		this.trueName = trueName;
	}

	public Long getSchoolNo() {
		return this.schoolNo;
	}

	public void setSchoolNo(Long schoolNo) {
		this.schoolNo = schoolNo;
	}

	public Short getSex() {
		return this.sex;
	}

	public void setSex(Short sex) {
		this.sex = sex;
	}

	public String getMoblie() {
		return this.moblie;
	}

	public void setMoblie(String moblie) {
		this.moblie = moblie;
	}

	public String getSchoolCornet() {
		return this.schoolCornet;
	}

	public void setSchoolCornet(String schoolCornet) {
		this.schoolCornet = schoolCornet;
	}

	public String getQqNo() {
		return this.qqNo;
	}

	public void setQqNo(String qqNo) {
		this.qqNo = qqNo;
	}

	public String getAddressOfSchool() {
		return this.addressOfSchool;
	}

	public void setAddressOfSchool(String addressOfSchool) {
		this.addressOfSchool = addressOfSchool;
	}

	public String getAcademy() {
		return this.academy;
	}

	public void setAcademy(String academy) {
		this.academy = academy;
	}

	public String getMajor() {
		return this.major;
	}

	public void setMajor(String major) {
		this.major = major;
	}

	public String getClass_() {
		return this.class_;
	}

	public void setClass_(String class_) {
		this.class_ = class_;
	}

	public Timestamp getJoinTime() {
		return this.joinTime;
	}

	public void setJoinTime(Timestamp joinTime) {
		this.joinTime = joinTime;
	}

	public Timestamp getSignUpTime() {
		return this.signUpTime;
	}

	public void setSignUpTime(Timestamp signUpTime) {
		this.signUpTime = signUpTime;
	}

	public Timestamp getLastUpdateTime() {
		return this.lastUpdateTime;
	}

	public void setLastUpdateTime(Timestamp lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public Boolean getDeleteTag() {
		return this.deleteTag;
	}

	public void setDeleteTag(Boolean deleteTag) {
		this.deleteTag = deleteTag;
	}

	public String getExpandBar1() {
		return this.expandBar1;
	}

	public void setExpandBar1(String expandBar1) {
		this.expandBar1 = expandBar1;
	}

	public String getExpandBar2() {
		return this.expandBar2;
	}

	public void setExpandBar2(String expandBar2) {
		this.expandBar2 = expandBar2;
	}

	public Set getMemberAuthorities() {
		return this.memberAuthorities;
	}

	public void setMemberAuthorities(Set memberAuthorities) {
		this.memberAuthorities = memberAuthorities;
	}

	public Set getOrganizationvotes() {
		return this.organizationvotes;
	}

	public void setOrganizationvotes(Set organizationvotes) {
		this.organizationvotes = organizationvotes;
	}

	public Set getOrganizationnotices() {
		return this.organizationnotices;
	}

	public void setOrganizationnotices(Set organizationnotices) {
		this.organizationnotices = organizationnotices;
	}

	public Set getActivities() {
		return this.activities;
	}

	public void setActivities(Set activities) {
		this.activities = activities;
	}

	public Set getActivitystaffs() {
		return this.activitystaffs;
	}

	public void setActivitystaffs(Set activitystaffs) {
		this.activitystaffs = activitystaffs;
	}

	public Set getPolloptionses() {
		return this.polloptionses;
	}

	public void setPolloptionses(Set polloptionses) {
		this.polloptionses = polloptionses;
	}

}